package com.ruoyi.system.service;

import com.ruoyi.system.pojo.dto.AcceptTransactionDTO;
import com.ruoyi.system.pojo.dto.BuyerCreateTransactionDTO;
import com.ruoyi.system.pojo.vo.TransactionRecordUserVO;

import java.util.List;

public interface IAgoniTransactionRecordService {
    int buyerCreateTransaction(BuyerCreateTransactionDTO buyerCreateTransactionDTO, Long buyerId);

    List<TransactionRecordUserVO> getTransactionRecordByToken(long userId);

    int rejectTransaction(Long id);

    int acceptTransaction(Long id);

    List<TransactionRecordUserVO> getMyBuyRecordByToken(long userId);

    int acceptTransactionByData(AcceptTransactionDTO acceptTransactionDTO);
}
